package com.jiutong.meipengdai.entity;

import java.util.List;

/**
 * 作用:
 * Created by 78 on 2017/6/2.
 */

public class LoanDetailBean extends BaseRespond {

    /**
     * data : {"loanInfoPojo":{"applyDate":"2017-09-08","finalAssAmount":"5040000.00","houseCardFull":"深水大厦1栋2号","houseId":"1093","loanAmount":"1000000.00","loanDeadline":"6","loanId":"318","loanInterest":"70800.00","loanRate":"1.18","loanStatus":"5","loanTotal":"1035400.00"},"loanPostpones":[{"applyTime":"2017-09-08","auditStatus":"2","auditTime":"2017-09-08","auditor":"1","createTime":"2017-09-08","failReason":"tongyi","id":"70","loanId":"318","loanRepaymentPlanId":"357","updateTime":"2017-09-08","userId":"6adc7d282b43477a865774eab53cf50e"}],"repayRecords":[{"betweenDays":"-56","currentPeriod":"1","currentPrincipal":"11800.00","estimatedRepaymentDate":"2017-07-17","hadRepaidPrincipal":"0.00","isCached":"0","loanId":"318","loanInterest":"11800.00","loanPostponeId":"70","loanPostponePojo":{},"overduePenalty":"0.00","postponeResult":"0","realRepaymentDate":"2017-07-17","remainDays":"-56","repayStatus":"2","totalPeriod":"6"},{"betweenDays":"-25","currentPeriod":"2","currentPrincipal":"11800.00","estimatedRepaymentDate":"2017-08-17","hadRepaidPrincipal":"0.00","isCached":"0","loanId":"318","loanInterest":"11800.00","loanPostponeId":"70","loanPostponePojo":{},"overduePenalty":"0.00","postponeResult":"0","realRepaymentDate":"2017-08-17","remainDays":"-25","repayStatus":"2","totalPeriod":"6"},{"betweenDays":"5","currentPeriod":"3","currentPrincipal":"0.00","estimatedRepaymentDate":"2017-09-17","hadRepaidPrincipal":"0.00","isCached":"0","loanId":"318","loanInterest":"11800.00","loanPostponeId":"70","loanPostponePojo":{"applyTime":"2017-09-08","auditStatus":"2","auditTime":"2017-09-08","auditor":"1","createTime":"2017-09-08","failReason":"tongyi","id":"70","loanId":"318","loanRepaymentPlanId":"357","updateTime":"2017-09-08","userId":"6adc7d282b43477a865774eab53cf50e"},"overduePenalty":"0.00","postponeResult":"3","realRepaymentDate":"2017-09-08","remainDays":"5","repayStatus":"1","totalPeriod":"6"},{"betweenDays":"35","currentPeriod":"4","currentPrincipal":"0","estimatedRepaymentDate":"2017-10-17","hadRepaidPrincipal":"0","isCached":"0","loanId":"318","loanInterest":"11800.00","overduePenalty":"0.00","postponeResult":"0","realRepaymentDate":"2017-09-08","remainDays":"35","repayStatus":"1","totalPeriod":"6"},{"betweenDays":"66","currentPeriod":"5","currentPrincipal":"0","estimatedRepaymentDate":"2017-11-17","hadRepaidPrincipal":"0","isCached":"0","loanId":"318","loanInterest":"11800.00","overduePenalty":"0.00","postponeResult":"0","realRepaymentDate":"2017-09-08","remainDays":"66","repayStatus":"1","totalPeriod":"6"},{"betweenDays":"96","currentPeriod":"6","currentPrincipal":"0","estimatedRepaymentDate":"2017-12-17","hadRepaidPrincipal":"0","isCached":"0","loanId":"318","loanInterest":"11800.00","overduePenalty":"0.00","postponeResult":"0","realRepaymentDate":"2017-09-08","remainDays":"96","repayStatus":"1","totalPeriod":"6"}],"showExtension":"0","totalPeriod":"6"}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * loanInfoPojo : {"applyDate":"2017-09-08","finalAssAmount":"5040000.00","houseCardFull":"深水大厦1栋2号","houseId":"1093","loanAmount":"1000000.00","loanDeadline":"6","loanId":"318","loanInterest":"70800.00","loanRate":"1.18","loanStatus":"5","loanTotal":"1035400.00"}
         * loanPostpones : [{"applyTime":"2017-09-08","auditStatus":"2","auditTime":"2017-09-08","auditor":"1","createTime":"2017-09-08","failReason":"tongyi","id":"70","loanId":"318","loanRepaymentPlanId":"357","updateTime":"2017-09-08","userId":"6adc7d282b43477a865774eab53cf50e"}]
         * repayRecords : [{"betweenDays":"-56","currentPeriod":"1","currentPrincipal":"11800.00","estimatedRepaymentDate":"2017-07-17","hadRepaidPrincipal":"0.00","isCached":"0","loanId":"318","loanInterest":"11800.00","loanPostponeId":"70","loanPostponePojo":{},"overduePenalty":"0.00","postponeResult":"0","realRepaymentDate":"2017-07-17","remainDays":"-56","repayStatus":"2","totalPeriod":"6"},{"betweenDays":"-25","currentPeriod":"2","currentPrincipal":"11800.00","estimatedRepaymentDate":"2017-08-17","hadRepaidPrincipal":"0.00","isCached":"0","loanId":"318","loanInterest":"11800.00","loanPostponeId":"70","loanPostponePojo":{},"overduePenalty":"0.00","postponeResult":"0","realRepaymentDate":"2017-08-17","remainDays":"-25","repayStatus":"2","totalPeriod":"6"},{"betweenDays":"5","currentPeriod":"3","currentPrincipal":"0.00","estimatedRepaymentDate":"2017-09-17","hadRepaidPrincipal":"0.00","isCached":"0","loanId":"318","loanInterest":"11800.00","loanPostponeId":"70","loanPostponePojo":{"applyTime":"2017-09-08","auditStatus":"2","auditTime":"2017-09-08","auditor":"1","createTime":"2017-09-08","failReason":"tongyi","id":"70","loanId":"318","loanRepaymentPlanId":"357","updateTime":"2017-09-08","userId":"6adc7d282b43477a865774eab53cf50e"},"overduePenalty":"0.00","postponeResult":"3","realRepaymentDate":"2017-09-08","remainDays":"5","repayStatus":"1","totalPeriod":"6"},{"betweenDays":"35","currentPeriod":"4","currentPrincipal":"0","estimatedRepaymentDate":"2017-10-17","hadRepaidPrincipal":"0","isCached":"0","loanId":"318","loanInterest":"11800.00","overduePenalty":"0.00","postponeResult":"0","realRepaymentDate":"2017-09-08","remainDays":"35","repayStatus":"1","totalPeriod":"6"},{"betweenDays":"66","currentPeriod":"5","currentPrincipal":"0","estimatedRepaymentDate":"2017-11-17","hadRepaidPrincipal":"0","isCached":"0","loanId":"318","loanInterest":"11800.00","overduePenalty":"0.00","postponeResult":"0","realRepaymentDate":"2017-09-08","remainDays":"66","repayStatus":"1","totalPeriod":"6"},{"betweenDays":"96","currentPeriod":"6","currentPrincipal":"0","estimatedRepaymentDate":"2017-12-17","hadRepaidPrincipal":"0","isCached":"0","loanId":"318","loanInterest":"11800.00","overduePenalty":"0.00","postponeResult":"0","realRepaymentDate":"2017-09-08","remainDays":"96","repayStatus":"1","totalPeriod":"6"}]
         * showExtension : 0
         * totalPeriod : 6
         */

        private LoanInfoPojoBean loanInfoPojo;
        private String showExtension;
        private String totalPeriod;
        private List<LoanPostponesBean> loanPostpones;
        private List<RepayRecordsBean> repayRecords;

        public LoanInfoPojoBean getLoanInfoPojo() {
            return loanInfoPojo;
        }

        public void setLoanInfoPojo(LoanInfoPojoBean loanInfoPojo) {
            this.loanInfoPojo = loanInfoPojo;
        }

        public String getShowExtension() {
            return showExtension;
        }

        public void setShowExtension(String showExtension) {
            this.showExtension = showExtension;
        }

        public String getTotalPeriod() {
            return totalPeriod;
        }

        public void setTotalPeriod(String totalPeriod) {
            this.totalPeriod = totalPeriod;
        }

        public List<LoanPostponesBean> getLoanPostpones() {
            return loanPostpones;
        }

        public void setLoanPostpones(List<LoanPostponesBean> loanPostpones) {
            this.loanPostpones = loanPostpones;
        }

        public List<RepayRecordsBean> getRepayRecords() {
            return repayRecords;
        }

        public void setRepayRecords(List<RepayRecordsBean> repayRecords) {
            this.repayRecords = repayRecords;
        }

        public static class LoanInfoPojoBean {
            /**
             * applyDate : 2017-09-08
             * finalAssAmount : 5040000.00
             * houseCardFull : 深水大厦1栋2号
             * houseId : 1093
             * loanAmount : 1000000.00
             * loanDeadline : 6
             * loanId : 318
             * loanInterest : 70800.00
             * loanRate : 1.18
             * loanStatus : 5
             * loanTotal : 1035400.00
             */

            private String applyDate;
            private String finalAssAmount;
            private String houseCardFull;
            private String houseId;
            private String loanAmount;
            private String loanDeadline;
            private String loanId;
            private String loanInterest;
            private String loanRate;
            private String loanStatus;
            private String loanTotal;

            public String getApplyDate() {
                return applyDate;
            }

            public void setApplyDate(String applyDate) {
                this.applyDate = applyDate;
            }

            public String getFinalAssAmount() {
                return finalAssAmount;
            }

            public void setFinalAssAmount(String finalAssAmount) {
                this.finalAssAmount = finalAssAmount;
            }

            public String getHouseCardFull() {
                return houseCardFull;
            }

            public void setHouseCardFull(String houseCardFull) {
                this.houseCardFull = houseCardFull;
            }

            public String getHouseId() {
                return houseId;
            }

            public void setHouseId(String houseId) {
                this.houseId = houseId;
            }

            public String getLoanAmount() {
                return loanAmount;
            }

            public void setLoanAmount(String loanAmount) {
                this.loanAmount = loanAmount;
            }

            public String getLoanDeadline() {
                return loanDeadline;
            }

            public void setLoanDeadline(String loanDeadline) {
                this.loanDeadline = loanDeadline;
            }

            public String getLoanId() {
                return loanId;
            }

            public void setLoanId(String loanId) {
                this.loanId = loanId;
            }

            public String getLoanInterest() {
                return loanInterest;
            }

            public void setLoanInterest(String loanInterest) {
                this.loanInterest = loanInterest;
            }

            public String getLoanRate() {
                return loanRate;
            }

            public void setLoanRate(String loanRate) {
                this.loanRate = loanRate;
            }

            public String getLoanStatus() {
                return loanStatus;
            }

            public void setLoanStatus(String loanStatus) {
                this.loanStatus = loanStatus;
            }

            public String getLoanTotal() {
                return loanTotal;
            }

            public void setLoanTotal(String loanTotal) {
                this.loanTotal = loanTotal;
            }
        }

        public static class LoanPostponesBean {
            /**
             * applyTime : 2017-09-08
             * auditStatus : 2
             * auditTime : 2017-09-08
             * auditor : 1
             * createTime : 2017-09-08
             * failReason : tongyi
             * id : 70
             * loanId : 318
             * loanRepaymentPlanId : 357
             * updateTime : 2017-09-08
             * userId : 6adc7d282b43477a865774eab53cf50e
             */

            private String applyTime;
            private String auditStatus;
            private String auditTime;
            private String auditor;
            private String createTime;
            private String failReason;
            private String id;
            private String loanId;
            private String loanRepaymentPlanId;
            private String updateTime;
            private String userId;

            public String getApplyTime() {
                return applyTime;
            }

            public void setApplyTime(String applyTime) {
                this.applyTime = applyTime;
            }

            public String getAuditStatus() {
                return auditStatus;
            }

            public void setAuditStatus(String auditStatus) {
                this.auditStatus = auditStatus;
            }

            public String getAuditTime() {
                return auditTime;
            }

            public void setAuditTime(String auditTime) {
                this.auditTime = auditTime;
            }

            public String getAuditor() {
                return auditor;
            }

            public void setAuditor(String auditor) {
                this.auditor = auditor;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getFailReason() {
                return failReason;
            }

            public void setFailReason(String failReason) {
                this.failReason = failReason;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getLoanId() {
                return loanId;
            }

            public void setLoanId(String loanId) {
                this.loanId = loanId;
            }

            public String getLoanRepaymentPlanId() {
                return loanRepaymentPlanId;
            }

            public void setLoanRepaymentPlanId(String loanRepaymentPlanId) {
                this.loanRepaymentPlanId = loanRepaymentPlanId;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }
        }

        public static class RepayRecordsBean {
            /**
             * betweenDays : -56
             * currentPeriod : 1
             * currentPrincipal : 11800.00
             * estimatedRepaymentDate : 2017-07-17
             * hadRepaidPrincipal : 0.00
             * isCached : 0
             * loanId : 318
             * loanInterest : 11800.00
             * loanPostponeId : 70
             * loanPostponePojo : {}
             * overduePenalty : 0.00
             * postponeResult : 0
             * realRepaymentDate : 2017-07-17
             * remainDays : -56
             * repayStatus : 2
             * totalPeriod : 6
             */

            private String betweenDays;
            private String currentPeriod;
            private String currentPrincipal;
            private String estimatedRepaymentDate;
            private String hadRepaidPrincipal;
            private String isCached;
            private String loanId;
            private String loanInterest;
            private String loanPostponeId;
            private LoanPostponePojoBean loanPostponePojo;
            private String overduePenalty;
            private String postponeResult;
            private String realRepaymentDate;
            private String remainDays;
            private String repayStatus;
            private String totalPeriod;

            public String getBetweenDays() {
                return betweenDays;
            }

            public void setBetweenDays(String betweenDays) {
                this.betweenDays = betweenDays;
            }

            public String getCurrentPeriod() {
                return currentPeriod;
            }

            public void setCurrentPeriod(String currentPeriod) {
                this.currentPeriod = currentPeriod;
            }

            public String getCurrentPrincipal() {
                return currentPrincipal;
            }

            public void setCurrentPrincipal(String currentPrincipal) {
                this.currentPrincipal = currentPrincipal;
            }

            public String getEstimatedRepaymentDate() {
                return estimatedRepaymentDate;
            }

            public void setEstimatedRepaymentDate(String estimatedRepaymentDate) {
                this.estimatedRepaymentDate = estimatedRepaymentDate;
            }

            public String getHadRepaidPrincipal() {
                return hadRepaidPrincipal;
            }

            public void setHadRepaidPrincipal(String hadRepaidPrincipal) {
                this.hadRepaidPrincipal = hadRepaidPrincipal;
            }

            public String getIsCached() {
                return isCached;
            }

            public void setIsCached(String isCached) {
                this.isCached = isCached;
            }

            public String getLoanId() {
                return loanId;
            }

            public void setLoanId(String loanId) {
                this.loanId = loanId;
            }

            public String getLoanInterest() {
                return loanInterest;
            }

            public void setLoanInterest(String loanInterest) {
                this.loanInterest = loanInterest;
            }

            public String getLoanPostponeId() {
                return loanPostponeId;
            }

            public void setLoanPostponeId(String loanPostponeId) {
                this.loanPostponeId = loanPostponeId;
            }

            public LoanPostponePojoBean getLoanPostponePojo() {
                return loanPostponePojo;
            }

            public void setLoanPostponePojo(LoanPostponePojoBean loanPostponePojo) {
                this.loanPostponePojo = loanPostponePojo;
            }

            public String getOverduePenalty() {
                return overduePenalty;
            }

            public void setOverduePenalty(String overduePenalty) {
                this.overduePenalty = overduePenalty;
            }

            public String getPostponeResult() {
                return postponeResult;
            }

            public void setPostponeResult(String postponeResult) {
                this.postponeResult = postponeResult;
            }

            public String getRealRepaymentDate() {
                return realRepaymentDate;
            }

            public void setRealRepaymentDate(String realRepaymentDate) {
                this.realRepaymentDate = realRepaymentDate;
            }

            public String getRemainDays() {
                return remainDays;
            }

            public void setRemainDays(String remainDays) {
                this.remainDays = remainDays;
            }

            public String getRepayStatus() {
                return repayStatus;
            }

            public void setRepayStatus(String repayStatus) {
                this.repayStatus = repayStatus;
            }

            public String getTotalPeriod() {
                return totalPeriod;
            }

            public void setTotalPeriod(String totalPeriod) {
                this.totalPeriod = totalPeriod;
            }

            public static class LoanPostponePojoBean {


                private String applyTime;
                private String auditStatus;
                private String auditTime;
                private String auditor;
                private String createTime;
                private String failReason;
                private String id;
                private String loanId;
                private String loanRepaymentPlanId;
                private String updateTime;
                private String userId;

                public String getApplyTime() {
                    return applyTime;
                }

                public void setApplyTime(String applyTime) {
                    this.applyTime = applyTime;
                }

                public String getAuditStatus() {
                    return auditStatus;
                }

                public void setAuditStatus(String auditStatus) {
                    this.auditStatus = auditStatus;
                }

                public String getAuditTime() {
                    return auditTime;
                }

                public void setAuditTime(String auditTime) {
                    this.auditTime = auditTime;
                }

                public String getAuditor() {
                    return auditor;
                }

                public void setAuditor(String auditor) {
                    this.auditor = auditor;
                }

                public String getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(String createTime) {
                    this.createTime = createTime;
                }

                public String getFailReason() {
                    return failReason;
                }

                public void setFailReason(String failReason) {
                    this.failReason = failReason;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getLoanId() {
                    return loanId;
                }

                public void setLoanId(String loanId) {
                    this.loanId = loanId;
                }

                public String getLoanRepaymentPlanId() {
                    return loanRepaymentPlanId;
                }

                public void setLoanRepaymentPlanId(String loanRepaymentPlanId) {
                    this.loanRepaymentPlanId = loanRepaymentPlanId;
                }

                public String getUpdateTime() {
                    return updateTime;
                }

                public void setUpdateTime(String updateTime) {
                    this.updateTime = updateTime;
                }

                public String getUserId() {
                    return userId;
                }

                public void setUserId(String userId) {
                    this.userId = userId;
                }

            }
        }
    }
}
